package com.hu.lsp;

import com.hu.lsp.config.master.MasterConfig;
import com.hu.lsp.config.slave.SlaveConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

/**
 *https://blog.csdn.net/Soinice/article/details/84029776?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.channel_param&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.channel_param
 Spring Boot （日志篇）：Log4j整合ELK，搭建实时日志平台

 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EnableConfigurationProperties({MasterConfig.class, SlaveConfig.class})
public class LspApplication {

    public static void main(String[] args) {
        SpringApplication.run(LspApplication.class, args);
    }

}
